import { RMIProxyObject } from "../../Engine/RMI/RMIProxyObject";
import { IPetTitlePrx } from "./IPetTitlePrx";
import { AMI_IPetTitle_enablePetTitle } from "./AMI_IPetTitle_enablePetTitle";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { Outgoing } from "../../Engine/RMI/Outgoing";
import { AMI_IPetTitle_getPetTitleInfo } from "./AMI_IPetTitle_getPetTitleInfo";
import { AMI_IPetTitle_hidePetTitle } from "./AMI_IPetTitle_hidePetTitle";
import { AMI_IPetTitle_notShowTitle } from "./AMI_IPetTitle_notShowTitle";
type int = number;
//class IPetTitlePrxHelper
    
    export  class IPetTitlePrxHelper extends RMIProxyObject implements IPetTitlePrx
    {
        constructor()
        {
            
            super();name = "IPetTitle";
            return;
        }

        public enablePetTitle_async(arg1: AMI_IPetTitle_enablePetTitle, arg2: string, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("enablePetTitle");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getPetTitleInfo_async(arg1: AMI_IPetTitle_getPetTitleInfo, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getPetTitleInfo");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public hidePetTitle_async(arg1: AMI_IPetTitle_hidePetTitle, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("hidePetTitle");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public notShowTitle_async(arg1: AMI_IPetTitle_notShowTitle, arg2: string, arg3: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("notShowTitle");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeBool(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public static /* const */NAME: string="Message.Game.IPetTitle";
    }
